package com.simple.gateway.center.basedata.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.simple.gateway.center.basedata.po.HttpStatement;
import java.util.List;

/**
* 项目: simple-gateway-core
*
* 功能描述: http语句表
*
* @author: yysimple
* @create: 2023-08-07 14:11:11
**/
@Mapper
public interface HttpStatementMapper extends BaseMapper<HttpStatement> {

    /**
    * 通过ID查询单个http语句表
    *
    * @param id ID
    * @return {@link HttpStatement}
    */
    HttpStatement findHttpStatementById(@Param("id") Long id);

    /**
    * 多条件查询HttpStatement列表
    *
    * @param httpStatement
    * @return java.util.List<HttpStatement>
    */
    List<HttpStatement> listHttpStatement(HttpStatement httpStatement);

    /**
    * 新增http语句表
    *
    * @param httpStatement http语句表
    */
    void insertHttpStatement(HttpStatement httpStatement);

    /**
    * 修改http语句表
    *
    * @param httpStatement http语句表
    */
    void updateHttpStatement(HttpStatement httpStatement);

    /**
    * 通过ID删除单个http语句表
    *
    * @param id ID
    */
    void deleteHttpStatementById(@Param("id") Long id);

}